/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.tms.entity;


import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;

/**
 * 货物Entity
 * @author dhw
 * @version 2017-12-01
 */
public class OrderDetail extends DataEntity<OrderDetail> {
	
	private static final long serialVersionUID = 1L;
	private Torder foreignId;		// 外键 父类
	private String goodsName;		// 货物名称
	private String goodsAmount;		// 件数
	private String weight;		// 重量（KG）
	private String volume;		// 体积（M3）
	private String packaging;		// 包装
	
	public OrderDetail() {
		super();
	}

	public OrderDetail(String id){
		super(id);
	}

	public OrderDetail(Torder foreignId){
		this.foreignId = foreignId;
	}

	public Torder getForeignId() {
		return foreignId;
	}

	public void setForeignId(Torder foreignId) {
		this.foreignId = foreignId;
	}
	
	@ExcelField(title="货物名称", align=2, sort=7)
	public String getGoodsName() {
		return goodsName;
	}

	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}
	
	@ExcelField(title="件数", align=2, sort=8)
	public String getGoodsAmount() {
		return goodsAmount;
	}

	public void setGoodsAmount(String goodsAmount) {
		this.goodsAmount = goodsAmount;
	}
	
	@ExcelField(title="重量（KG）", align=2, sort=9)
	public String getWeight() {
		return weight;
	}

	public void setWeight(String weight) {
		this.weight = weight;
	}
	
	@ExcelField(title="体积（M3）", align=2, sort=10)
	public String getVolume() {
		return volume;
	}

	public void setVolume(String volume) {
		this.volume = volume;
	}
	
	@ExcelField(title="包装", align=2, sort=11)
	public String getPackaging() {
		return packaging;
	}

	public void setPackaging(String packaging) {
		this.packaging = packaging;
	}
	
}